package com.guang.testspringmybatis.pojo;

import java.io.Serializable;
import java.util.Date;

public class ReviewContent extends ReviewContentKey implements Serializable {

    private String eleId;

    private String parentEleId;

    private Integer status;

    private Integer version;

    private Integer supplement;

    private Date createdTime;

    private Date updatedTime;

    private Integer productType;

    private String content;

    private static final long serialVersionUID = 1L;

    public String getEleId() {
        return eleId;
    }

    public void setEleId(String eleId) {
        this.eleId = eleId == null ? null : eleId.trim();
    }

    public String getParentEleId() {
        return parentEleId;
    }

    public void setParentEleId(String parentEleId) {
        this.parentEleId = parentEleId == null ? null : parentEleId.trim();
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public Integer getSupplement() {
        return supplement;
    }

    public void setSupplement(Integer supplement) {
        this.supplement = supplement;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Date getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(Date updatedTime) {
        this.updatedTime = updatedTime;
    }

    public Integer getProductType() {
        return productType;
    }

    public void setProductType(Integer productType) {
        this.productType = productType;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", eleId=").append(eleId);
        sb.append(", parentEleId=").append(parentEleId);
        sb.append(", status=").append(status);
        sb.append(", version=").append(version);
        sb.append(", supplement=").append(supplement);
        sb.append(", createdTime=").append(createdTime);
        sb.append(", updatedTime=").append(updatedTime);
        sb.append(", productType=").append(productType);
        sb.append(", content=").append(content);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}